/**
 * @description 保存历史数据共享
 */
const state = () => ({
  historyData: [], //弹框
})
const getters = {
  historyData: (state) => state.historyData,
}
const mutations = {
  saveHistory(state, historyData) {
    state.historyData = historyData
  },
}
const actions = {
  saveHistory({ commit }, historyData) {
    commit('saveHistory', historyData)
  },
}
export default { state, getters, mutations, actions }
